// 非国际化租户使用
import BaseDistPicker from './BaseDistPicker.vue';
// 国际化租户使用
import BaseDistPickerInternational from './BaseDistPickerInternational.vue';

// 组合BaseDistPicker和BaseDistPickerInternational,会自动判断使用哪个组件
// 业务代码里面不要单独使用BaseDistPicker和BaseDistPickerInternational，应该使用BaseDist
import BaseDist from './BaseDist.vue';

BaseDistPicker.install = function(Vue) {
  Vue.component(BaseDistPicker.name, BaseDistPicker);
};

BaseDistPickerInternational.install = function(Vue) {
  Vue.component(BaseDistPickerInternational.name, BaseDistPickerInternational);
};

BaseDist.install = function(Vue) {
  Vue.component(BaseDist.name, BaseDist);
};

export {
  BaseDistPicker,
  BaseDistPickerInternational,
  BaseDist
};
